800
How can I change the color for a particular bar

exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B1",null);
	int h = var_Items.AddItem("Item 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B2",null);
	var_Items.set_ItemBar(h,"B2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
	var_Items.AddBar(var_Items.AddItem("Item 3"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B3",null);

799
How can I change the color or visual appearance using EBN files for a particular bar

exg2antt1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAEGg4BGoCg6AADACAxRDAMgBQKAAzQFAYZhhBaERiGEaIJhUAIIRZGMQxXAcMQvDSKQJhGLhQiSJoJDSBEgSXDIZQ5D6OZYACDJQACJYJTbAYzyP" +
"JkPRAA6EZCmGAwCglf5HABRb7xNLkbQ8GySKJnWCQJhoD5BSLCNRUTRFFQtGgZBpEWwLCjQNQwWLKFoTJIEPSBDKqYDoKYqTgOOZOThHQz3HakQRdAa/ZpnaKpUo2d47" +
"XjMWBwGA0EzeAAGaxoShqdoiFaGU7UOJVJBOGwHK6BchoMAKbp6XoVWRaOAWLZWVABM7XLZxbLccyGfZ1XhdV5UbqUMznR7PNrjLKIJpCOJbbyAFwgBaeQABYLhK7iHR" +
"mi8XYwjMWpjFWOx1GIB5LmgdB4HCEBECSIBpDGHQOicIwokYPImikEIJj6eJIloEgogSc40FGcJEFiYZIG2VIoAURw1g2QxyAQNwNAMPJOgIYI4CoDIBmAeAKBIUpQDU" +
"KJYDoTpIB4vxgmgdgNgeYZDDoFw7CEJhQn+BohmKfImCWSZRlgYwikYMQ0gwF4DniTA/gwBJYjQYwsgoIg6AyCRQDiIJODAZBImoOguAmMZ4lQLIJjOMI3CYZJpEIT4K" +
"iKSI6DqD5ZGAAgHC2DAjBYR4SGUGYGE+GIlCmFhRhIB5iFAbwWsiJgMhoCoxngV4ZCcSYOHaGYnHmIg8COJpoCoOISmSWZeHWHgoEkRoAg4EIYB4NogmiSgKg6GRjGoJ" +
"gFh+ZJKDaBYjmgaQygiBRUHmbhoDsTAyiqIIoioGoOw8aoKhKKoemeOIaAeF5HmqHoqiyKxKgYaN/locgBiuZRojoVIok8cwsjaMBLGqDoAhGIpoEYWYEmAIxUkQLZmg" +
"iYg2g2I4JiCQwuAqWIOIkEAQICA==");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.Color32 = 0x1000000;
		var_Bar.Height = 16;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B1",null);
	int h = var_Items.AddItem("Item 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B2",null);
	var_Items.set_ItemBar(h,"B2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
	var_Items.AddBar(var_Items.AddItem("Item 3"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B3",null);

798
How can I resize programmatically a bar
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B2",null);
	var_Items.set_ItemBar(h,"B2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarDuration,1);

797
How can I move programmatically a bar
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B2",null);
	var_Items.set_ItemBar(h,"B2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMove,-2);

796
How can I select displaying the histogram for an item and all its child items

exg2antt1.BeginUpdate();
exg2antt1.MarkSearchColumn = false;
exg2antt1.ShowFocusRect = false;
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Hist") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
	var_Column.AllowSizing = false;
	var_Column.Width = 18;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.NonworkingDays = 0;
	var_Chart.set_PaneWidth(false,96);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/20/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramView = (exontrol.EXG2ANTTLib.HistogramViewEnum)0x10000 | exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramNoGrouping | exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramRecLeafItems | exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramLeafItems | exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramUnlockedItems | exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramCheckedItems;
	var_Chart.HistogramHeight = 64;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.HistogramCriticalColor = Color.FromArgb(255,0,0);
		var_Bar.HistogramPattern = exontrol.EXG2ANTTLib.PatternEnum.exBezierCurve;
		var_Bar.HistogramType = exontrol.EXG2ANTTLib.HistogramTypeEnum.exHistOverAllocation;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project 1");
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("6/21/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("7/1/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h1 = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("6/21/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/28/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellMerge(h1,0,1);
	var_Items.DefineSummaryBars(h,"",h1,"");
	h1 = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("6/23/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("7/1/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"E",null);
	var_Items.set_CellMerge(h1,0,1);
	var_Items.DefineSummaryBars(h,"",h1,"E");
	var_Items.set_ItemBar(h1,"E",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarEffort,5);
	h1 = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("6/25/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/27/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"E",null);
	var_Items.set_CellMerge(h1,0,1);
	var_Items.DefineSummaryBars(h,"",h1,"E");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_CellState(h,1,1);
	h = var_Items.AddItem("Project 2");
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("6/26/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("7/6/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	h1 = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("6/26/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("7/2/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellMerge(h1,0,1);
	var_Items.DefineSummaryBars(h,"",h1,"");
	h1 = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("6/28/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("7/6/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"E",null);
	var_Items.set_CellMerge(h1,0,1);
	var_Items.DefineSummaryBars(h,"",h1,"E");
	var_Items.set_ItemBar(h1,"E",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarEffort,5);
	h1 = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("6/30/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("7/2/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"E",null);
	var_Items.set_CellMerge(h1,0,1);
	var_Items.DefineSummaryBars(h,"",h1,"E");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_CellState(h,1,1);
exg2antt1.EndUpdate();

795
How can I select or specify the items being included in the histogram, (using a different column )

exg2antt1.BeginUpdate();
exg2antt1.MarkSearchColumn = false;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramView = (exontrol.EXG2ANTTLib.HistogramViewEnum)0x10000 | exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramCheckedItems;
	var_Chart.HistogramHeight = 32;
	var_Chart.Bars["Task"].HistogramPattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Histogram") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.AllowSizing = false;
	var_Column.Width = 18;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h = var_Items.AddItem("Item 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(h,1,1);
	h = var_Items.AddItem("Item 3");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(h,1,1);
exg2antt1.EndUpdate();

794
How can I select or specify the items being included in the histogram

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramView = exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramCheckedItems;
	var_Chart.HistogramHeight = 32;
	var_Chart.Bars["Task"].HistogramPattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
(exg2antt1.Columns.Add("Column") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h = var_Items.AddItem("Item 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(h,0,1);
	h = var_Items.AddItem("Item 3");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(h,0,1);
exg2antt1.EndUpdate();

793
Is there any option to display the histogram for selected items only

exg2antt1.BeginUpdate();
exg2antt1.SingleSel = false;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramView = exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramSelectedItems;
	var_Chart.HistogramHeight = 32;
	var_Chart.Bars["Task"].HistogramPattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.SelectAll();
exg2antt1.EndUpdate();

792
Is it possible to add bars to a summary bar so, they get resized or moved as soon as a bar is changed

exg2antt1.BeginUpdate();
exg2antt1.BackColor = Color.FromArgb(255,255,255);
exg2antt1.ShowFocusRect = false;
exg2antt1.HasLines = exontrol.EXG2ANTTLib.HierarchyLineEnum.exNoLine;
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.HasLines = exontrol.EXG2ANTTLib.HierarchyLineEnum.exNoLine;
exg2antt1.Indent = 14;
exg2antt1.FullRowSelect = exontrol.EXG2ANTTLib.CellSelectEnum.exColumnSel;
exg2antt1.ScrollBySingleLine = true;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.BackColor = Color.FromArgb(255,255,255);
	var_Chart.SelBackColor = Color.FromArgb(245,245,245);
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.AllowLinkBars = false;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,98);
exg2antt1.Columns.Add("");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int hProject = var_Items.AddItem("Project");
	var_Items.set_ItemHeight(hProject,26);
	var_Items.AddBar(hProject,"Project Summary",Convert.ToDateTime("1/2/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBar(hProject,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<br>< <b>Project Summary</b> >");
	int hR1 = var_Items.InsertItem(hProject,null,"Team 1");
	var_Items.set_ItemHeight(hR1,30);
	var_Items.AddBar(hR1,"Summary",Convert.ToDateTime("1/2/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBar(hR1,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<br> Team <b>1</b> Summary ");
	int h1 = var_Items.InsertItem(hR1,null,"Member 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.DefineSummaryBars(hR1,"",h1,"");
	h1 = var_Items.InsertItem(hR1,null,"Member 2");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/4/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.DefineSummaryBars(hR1,"",h1,"");
	h1 = var_Items.InsertItem(hR1,null,"Member 3");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/5/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.DefineSummaryBars(hR1,"",h1,"");
	var_Items.set_ExpandItem(hR1,true);
	int hR2 = var_Items.InsertItem(hProject,null,"Team 2");
	var_Items.set_ItemHeight(hR2,30);
	var_Items.AddBar(hR2,"Summary",Convert.ToDateTime("1/2/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBar(hR2,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<br> Team <b>2</b> Summary ");
	int h2 = var_Items.InsertItem(hR2,null,"Member 1");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/4/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.DefineSummaryBars(hR2,"",h2,"");
	h2 = var_Items.InsertItem(hR2,null,"Member 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/8/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/11/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.DefineSummaryBars(hR2,"",h2,"");
	h2 = var_Items.InsertItem(hR2,null,"Member 3");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.DefineSummaryBars(hR2,"",h2,"");
	var_Items.set_ExpandItem(hR2,true);
	var_Items.set_ExpandItem(var_Items.FirstVisibleItem,true);
	var_Items.DefineSummaryBars(hProject,"",hR1,"");
	var_Items.DefineSummaryBars(hProject,"",hR2,"");
exg2antt1.EndUpdate();

791
Is it possible to define level in terms of just increasing numbers (not a Date)

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,32);
	var_Chart.UnitWidth = 32;
	var_Chart.FirstVisibleDate = 1000;
	var_Chart.get_Level(0).Label = "<%i%>";

790
How can I hide the non-working units ( days or hours )

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%dddd%>";
		var_Level.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
	var_Chart.get_Level(1).Label = 65536;
	var_Chart.NonworkingHours = 16773375;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.ShowNonworkingHours = false;
exg2antt1.EndUpdate();

789
Is there a way to have the display show the word "Noon" instead "12:00 PM" in the chart's header/levels

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 3;
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<b><%mmm%> <%d%>, <%yyyy%></b>";
		var_Level.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
		var_Level.Unit = exontrol.EXG2ANTTLib.UnitEnum.exDay;
	exontrol.EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = "<%h%>:00 <%AM/PM%>";
		var_Level1.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
		var_Level1.Unit = exontrol.EXG2ANTTLib.UnitEnum.exHour;
		var_Level1.DrawTickLines = exontrol.EXG2ANTTLib.LevelLineEnum.exLevelDefaultLine;
		var_Level1.DrawGridLines = true;
		var_Level1.set_ReplaceLabel("12:00 PM","<fgcolor=0000FF><b>Noon</b></fgcolor>");
	exontrol.EXG2ANTTLib.Level var_Level2 = var_Chart.get_Level(2);
		var_Level2.Label = "";
		var_Level2.Unit = exontrol.EXG2ANTTLib.UnitEnum.exMinute;
		var_Level2.Count = 15;

788
How can I change the selection background color in the chart area

exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.SelBackColor = Color.FromArgb(255,0,0);
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(var_Items.FirstVisibleItem,true);

787
How can I change the selection background color in the chart area

exg2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.SelBackColor32 = 0x1000000;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(var_Items.FirstVisibleItem,true);

786
Is there any way to extend the selection on the chart

exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.SelBackColor = exg2antt1.SelBackColor;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_SelectItem(var_Items.FirstVisibleItem,true);

785
How can I display the column's header using multiple lines

exg2antt1.HeaderHeight = 128;
exg2antt1.HeaderSingleLine = false;
(exg2antt1.Columns.Add("This is just a column that should break the header.") as exontrol.EXG2ANTTLib.Column).Width = 32;
exg2antt1.Columns.Add("This is just another column that should break the header.");

784
Can I move or limit moving or resizing a bar
exg2antt1.BeginUpdate();
exg2antt1.ScrollBySingleLine = true;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
exg2antt1.DefaultItemHeight = 19;
exg2antt1.GridLineColor = Color.FromArgb(220,220,220);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exStartDate,Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.set_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exEndDate,Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.DrawDateTicker = true;
	var_Chart.NonworkingDays = 0;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.ResizeUnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).DrawGridLines = false;
	var_Chart.AllowLinkBars = false;
	var_Chart.Bars["Task"].OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStackAutoArrange | exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
exg2antt1.Columns.Add("Info");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Fixed bar");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"F",null);
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCanResize,false);
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCanMove,false);
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"This bar is fixed, so the uer can move or resize it");
	h = var_Items.AddItem("Moveable but not-resizable bar");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"F",null);
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"This bar is moveable inside the item, but the user can't resize it.");
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCanResize,false);
	h = var_Items.AddItem("Resizable but not moveable bar");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"F",null);
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"This bar is resizable but the user can't move it.");
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCanMove,false);
	h = var_Items.AddItem("Range Moveable bar");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"F",null);
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"This bar can be moved inside the displayed range.");
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMinStart,Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMaxEnd,Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowRange,32);
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowRangeTransparent,90);
	h = var_Items.AddItem("Range Moveable Upper No Limit bar");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"F",null);
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"This bar can be moved inside the displayed range.");
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMinStart,Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowRange,32);
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowRangeTransparent,90);
	h = var_Items.AddItem("Range Moveable Lower No Limit bar");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"F",null);
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"This bar can be moved inside the displayed range.");
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMaxEnd,Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowRange,32);
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowRangeTransparent,90);
	h = var_Items.AddItem("Moveable bar inside the item");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"F",null);
	var_Items.set_ItemBar(h,"F",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"This bar can be moved/resized anywhere inside the item.");
	h = var_Items.AddItem("Moveable bar to other items too");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"FA",null);
	var_Items.set_ItemBar(h,"FA",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"This bar can be moved to other items too. Click the bar and move it to other items too.");
	var_Items.set_ItemBar(h,"FA",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"free");
	var_Items.set_ItemBar(h,"FA",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	var_Items.set_ItemBar(h,"FA",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCanMoveToAnother,true);
	h = var_Items.AddItem("Moveable inside item");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"F1",null);
	h = var_Items.AddItem("Moveable inside item");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"F1",null);
	h = var_Items.AddItem("Moveable inside item");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"F1",null);
exg2antt1.EndUpdate();

783
Can I move a bar from an item to another by drag and drop
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.AllowLinkBars = false;
exg2antt1.Chart.Bars["Task"].OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsTransparent | exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsOffset;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	int h = var_Items.AddItem("Item 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.set_ItemBar(h,"B",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCanMoveToAnother,true);
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 4");

782
Can I move a bar from an item to another
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	int h = var_Items.AddItem("Item 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.set_ItemBar(h,"B",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarParent,var_Items.FirstVisibleItem);

781
How can change the width, transparency, style, visual appearance ( EBN), of the vertical bar that shows the current date-time

exg2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = 1048576;
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.Label = "<%ss%>";
		var_Level.Count = 15;
	var_Chart.MarkNowColor32 = 0x1000000;
	var_Chart.MarkNowWidth = 6;
	var_Chart.MarkNowTransparent = 50;
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

780
How can change the width, style, visual appearance ( EBN), of the vertical bar that shows the current time

exg2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = 1048576;
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.Label = "<%ss%>";
		var_Level.Count = 15;
	var_Chart.MarkNowColor32 = 0x1000000;
	var_Chart.MarkNowWidth = 6;
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

779
How can I show a vertical bar that indicates the current time

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = 1048576;
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.Label = "<%ss%>";
		var_Level.Count = 15;
	var_Chart.MarkNowColor = Color.FromArgb(0,0,255);
	var_Chart.MarkNowWidth = 7;
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

778
How can I show semi-transparent the vertical bar that indicates the current time

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = 1048576;
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.Label = "<%ss%>";
		var_Level.Count = 15;
	var_Chart.MarkNowColor = Color.FromArgb(0,0,255);
	var_Chart.MarkNowWidth = 7;
	var_Chart.MarkNowTransparent = 50;
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

777
Is there any way to highlight or show a vertical bar that indicates the current time, from 15 to 15 seconds

exg2antt1.Chart.LevelCount = 2;
exg2antt1.Chart.get_Level(0).Label = 1048576;
exontrol.EXG2ANTTLib.Level var_Level = exg2antt1.Chart.get_Level(1);
	var_Level.Label = "<%ss%>";
	var_Level.Count = 15;
exg2antt1.Chart.MarkNowColor = Color.FromArgb(0,0,255);
exg2antt1.Chart.MarkNowCount = 15;
exg2antt1.Chart.MarkNowWidth = 3;

776
Is there any way to highlight or show a vertical bar that indicates the current time, from minute to minute, hour and so on
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.UnitWidth = 48;
	var_Chart.LevelCount = 1;
	var_Chart.get_Level(0).Label = 1048576;
	var_Chart.MarkNowColor = Color.FromArgb(255,0,0);
	var_Chart.MarkNowUnit = exontrol.EXG2ANTTLib.UnitEnum.exMinute;
	var_Chart.MarkNowWidth = var_Chart.UnitWidth;

775
Is there any way to highlight or show a vertical bar that indicates the current time

exg2antt1.Chart.LevelCount = 2;
exg2antt1.Chart.get_Level(0).Label = 1048576;
exontrol.EXG2ANTTLib.Level var_Level = exg2antt1.Chart.get_Level(1);
	var_Level.Label = "<%ss%>";
	var_Level.Count = 15;
exg2antt1.Chart.MarkNowColor = Color.FromArgb(255,0,0);

774
Is there a way of making a bar flash on the screen
exg2antt1.Columns.Add("Task");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Flashy task");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarTransparent,80);

773
Is there any option to display overlay bars as a stack, or bars that laid over or cover other bars (exOverlaidBarsStackAutoArrange)

exg2antt1.BeginUpdate();
exg2antt1.ScrollBySingleLine = true;
exg2antt1.Columns.Add("Task");
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exHLines;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exHLines;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exCreateBarAuto;
	var_Chart.AllowLinkBars = false;
	var_Chart.ResizeUnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStackAutoArrange | exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
		var_Bar.set_Overlaid(exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsTransparent,80);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A2",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	h = var_Items.AddItem(null);
	var_Items.set_SelectableItem(h,false);
	var_Items.AddBar(h,"",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,"<fgcolor=FF0000>Click a bar and move to a new position.");
exg2antt1.EndUpdate();

772
Is there any option to display overlay bars as a stack, or bars that laid over or cover other bars (overlay)

exg2antt1.BeginUpdate();
exg2antt1.ScrollBySingleLine = true;
exg2antt1.Columns.Add("Task");
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exHLines;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exHLines;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exCreateBarAuto;
	var_Chart.AllowLinkBars = false;
	var_Chart.ResizeUnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.Bars["Task"].OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A2",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	h = var_Items.AddItem(null);
	var_Items.set_SelectableItem(h,false);
	var_Items.AddBar(h,"",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,"<fgcolor=FF0000>Click a bar and move to a new position.");
exg2antt1.EndUpdate();

771
Does the overlay also work in milestone bars

exg2antt1.BeginUpdate();
exg2antt1.DefaultItemHeight = 22;
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.ResizeUnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	exontrol.EXG2ANTTLib.Bars var_Bars = var_Chart.Bars;
		exontrol.EXG2ANTTLib.Bar var_Bar = var_Bars["Task"];
			var_Bar.OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsTransparent | exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsOffset;
			var_Bar.OverlaidGroup = "Milestone";
		exontrol.EXG2ANTTLib.Bar var_Bar1 = var_Bars["Milestone"];
			var_Bar1.OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsTransparent | exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsOffset;
			var_Bar1.OverlaidGroup = "Task";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Milestone",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"M",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Milestone",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"M",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	h = var_Items.AddItem(null);
	var_Items.set_SelectableItem(h,false);
	var_Items.AddBar(h,"",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,"<fgcolor=FF0000>Click a bar and move to a new position.");
exg2antt1.EndUpdate();

770
Is there any option to display overlaid bars of different types, or bars that laid over or cover other bars (overlay)

exg2antt1.DefaultItemHeight = 22;
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.ResizeUnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	exontrol.EXG2ANTTLib.Bars var_Bars = var_Chart.Bars;
		var_Bars.Copy("Task","RTask").Color = Color.FromArgb(255,0,0);
		var_Bars.Copy("Task","GTask").Color = Color.FromArgb(0,255,0);
		exontrol.EXG2ANTTLib.Bar var_Bar = var_Bars["Task"];
			var_Bar.OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsTransparent | exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsOffset;
			var_Bar.set_Overlaid(exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsTransparent,70);
			var_Bar.OverlaidGroup = "RTask,GTask";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A2",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"GTask",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A2",null);
	var_Items.AddBar(h,"RTask",Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	h = var_Items.AddItem(null);
	var_Items.set_SelectableItem(h,false);
	var_Items.AddBar(h,"",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,"<fgcolor=FF0000>Click a bar and move to a new position.");

769
Is there any option to display overlaid bars, or bars that laid over or cover other bars (overlay)

exg2antt1.DefaultItemHeight = 22;
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.ResizeUnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	exontrol.EXG2ANTTLib.Bars var_Bars = var_Chart.Bars;
		exontrol.EXG2ANTTLib.Bar var_Bar = var_Bars.Copy("Task","BTask");
			var_Bar.Color = Color.FromArgb(255,0,0);
		exontrol.EXG2ANTTLib.Bar var_Bar1 = var_Bars["Task"];
			var_Bar1.OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsIntersect;
			var_Bar1.set_Overlaid(exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsIntersect,"BTask");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A2",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	h = var_Items.AddItem(null);
	var_Items.set_SelectableItem(h,false);
	var_Items.AddBar(h,"",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,"<fgcolor=FF0000>Click a bar and move to a new position.");

768
Is there any option to display overlaid bars, or bars that laid over or cover other bars (overlay)

exg2antt1.DefaultItemHeight = 22;
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.ResizeUnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsTransparent | exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsOffset;
		var_Bar.set_Overlaid(exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsTransparent,70);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A2",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	h = var_Items.AddItem(null);
	var_Items.set_SelectableItem(h,false);
	var_Items.AddBar(h,"",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,"<fgcolor=FF0000>Click a bar and move to a new position.");

767
Is there any option to display overlaid bars, or bars that laid over or cover other bars (overlay)

exg2antt1.DefaultItemHeight = 22;
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.ResizeUnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.Bars["Task"].OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsOffset;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A2",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	h = var_Items.AddItem(null);
	var_Items.set_SelectableItem(h,false);
	var_Items.AddBar(h,"",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,"<fgcolor=FF0000>Click a bar and move to a new position.");

766
How can include the values in the inner cells in the drop down filter window
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
exg2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarBlanks,"");
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarNonBlanks,"");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Single Column") as exontrol.EXG2ANTTLib.Column);
	var_Column.HTMLCaption = "Single column with <b>inner cells</b>";
	var_Column.ToolTip = "Click the drop down filter button, and the filter list includes the inner cells values too.";
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exIncludeInnerCells;
exg2antt1.ShowFocusRect = false;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	object s = var_Items.get_SplitCell(var_Items.AddItem("S 1.1"),0);
	var_Items.set_CellValue(null,s,"S 1.2");
	var_Items.set_CellHAlignment(null,s,exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment);
	var_Items.set_CellBackColor32(null,s,0x1000000);
	var_Items.set_CellWidth(null,s,84);
	s = var_Items.get_SplitCell(var_Items.AddItem("S 2.1"),0);
	var_Items.set_CellValue(null,s,"S 2.2");
	var_Items.set_CellHAlignment(null,s,exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment);
	var_Items.set_CellWidth(null,s,84);
	s = var_Items.get_SplitCell(var_Items.AddItem("S 3.1"),0);
	var_Items.set_CellValue(null,s,"S 3.2");
	var_Items.set_CellHAlignment(null,s,exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment);
	var_Items.set_CellBackColor32(null,s,0x1000000);
	var_Items.set_CellWidth(null,s,84);

765
How can I sort the value gets listed in the drop down filter window
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.MarkSearchColumn = false;
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAll,"");
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarBlanks,"");
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarNonBlanks,"");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("P1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsDesc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("P2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.DisplayFilterPattern = false;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Z3");
	var_Items.set_CellValue(h,1,"C");
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Z1"),1,"B");
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Z2"),1,"A");
	var_Items.set_ExpandItem(h,true);

764
Is there a way to break the hours into 15 minute increments just showing lines instead of the minute numbers

exg2antt1.BeginUpdate();
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("2/5/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.LevelCount = 3;
exg2antt1.Chart.get_Level(0).Label = "<b><%mmm%> <%dd%></b> <%yyyy%> ";
exontrol.EXG2ANTTLib.Level var_Level = exg2antt1.Chart.get_Level(1);
	var_Level.Label = "<%hh%>";
	var_Level.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
exontrol.EXG2ANTTLib.Level var_Level1 = exg2antt1.Chart.get_Level(2);
	var_Level1.Label = "";
	var_Level1.Unit = exontrol.EXG2ANTTLib.UnitEnum.exMinute;
	var_Level1.Count = 15;
exg2antt1.Chart.UnitWidth = 6;
exg2antt1.EndUpdate();

763
How do I specify a range where the bar can be moved or resized and to highlight the range

exg2antt1.BeginUpdate();
exg2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.set_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exStartDate,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exg2antt1.Chart.set_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exEndDate,Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exg2antt1.Chart.set_PaneWidth(false,128);
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMinStart,Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMaxEnd,Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowRange,16777216);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowRangeTransparent,60);
	h = var_Items.AddItem("Item 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

762
How do I specify a range where the bar can be moved or resized and to highlight the range

exg2antt1.BeginUpdate();
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.set_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exStartDate,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exg2antt1.Chart.set_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exEndDate,Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exg2antt1.Chart.set_PaneWidth(false,128);
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMinStart,Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMaxEnd,Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowRange,32);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowRangeTransparent,90);
	h = var_Items.AddItem("Item 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

761
How do I specify a range where the bar can be moved or resized and to highlight the range

exg2antt1.BeginUpdate();
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.set_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exStartDate,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exg2antt1.Chart.set_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exEndDate,Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exg2antt1.Chart.set_PaneWidth(false,128);
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMinStart,Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMaxEnd,Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowRange,65286);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowRangeTransparent,90);
	h = var_Items.AddItem("Item 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

760
How do I specify a range where the bar can be moved or resized
exg2antt1.BeginUpdate();
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.set_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exStartDate,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exg2antt1.Chart.set_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exEndDate,Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exg2antt1.Chart.set_PaneWidth(false,128);
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMinStart,Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMaxEnd,Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.AddItem("Item 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

759
How can I change the visual appearance of the milestone bar using EBN

exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAEGg4BKMMQAAYAQGKIYBkAKBQAGaAoDDMMILQiMQwjRBMKgBBCLIxiGK4DhiF4aRTHUKAAKQahLEaSZLhEZRQiqA4sS5FQBSBDQFwSByEY6mSaYJ" +
"AWK4tCyNM7SfQAbxnAgYaLAAYRUjuHZOTZAc4UfAdFL/K4AKrfeZIeAiCRQGiYZyHKaRShjDwXKLIIjbJhkNoJChCNQgBScPgxCx8JypaCaar2fjQM6zWAMdb2Cz7PjD" +
"H7wPA1WYJRaDYjhcB4LheAqGXBWUYLYb8XS3EKJYhiWA4HjqFjGJpcEzPbRiNx3H6SABlLLaLo7JpGO52FrTHZjXyzLqBVpoOyEbrmcozYzjN41RpWETfQYDcwteqcLp" +
"rhGVZrm6dp8j4bAnDQP5Uh+OpcH6R4Lg2YJvEIeg6kWEoJB2ZZyG6GoLCSXxtG+IZ1GmfhJjcawNFWfB/h+V5pnUc5VhWeZ4BMX4jlySwtiAJodlEYRaBYFgHHgIA2gG" +
"ExkFUdxFl6A5hgUbgXgcVRzFiXA3CICARAEgI");
	var_Appearance.Add(2,"CP:1 -6 0 5 0");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars.Add("MilestoneEBN");
		var_Bar.Color32 = 0x2000000;
		var_Bar.Height = 14;
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Milestone"),"Milestone",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/2/2001 0:00:01",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Milestone EBN "),"MilestoneEBN",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/2/2001 0:00:01",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

758
How can I change the visual appearance of the summary bar using EBN

exg2antt1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAEGg4BGICg6AADACAxRDAMgBQKAAzQFAYZhhBaERiGEaIJhUAIIRZGMQxXAcMQvDSKQJhGDAADEMgyAJCIxjPIgZBoGqPBpASQJUhkMocR7HMygB" +
"IkSRNA8kMwxdQEaw9ECRIDpGaYWTFDhsABTVQRLL0Tw9ISERqoSSaGgkCYaA7CNJ0PBNJSjJ6LJZGURbKqyCQ1DBbUB3BaUaQ9JaKa7pKa7cpWKIqSxEMrxcLFcT5DSb" +
"YDxGjLEhmPZBVZQNBxtJbFQHWJCNgzVAdOAAfzQM70GpMQoWJYeVpEObSBD1dABTCBczADYoex7ID+aJuGiYVZdWxJOjfbhkTTIJAaCawABrWxR8iHN5paTnUpzDjwbg" +
"0kqRRyr+XwjA8Go/HSBp6g6KJTFcGpWmYdg8H6dJTH0EZelueBfBuLwyBMd50nIfR+kmXB4BECQUAaEYMHQHRHCGFRYI2ZAwEIExghQZA2EIQoGGoEhOgGBBYlAeYYHM" +
"WJcDcGx4HYHoHmICIFjeBohkaDAAC2DAjBYJIIiKSI2CSC5hjQJBsCOCwYiIKoGmKWJkn6DANkiWgzCwYwolAcQkksWJaCuDohlicg2hDQR+EELBInKcJohMJBomILoG" +
"mISQuESFBOgkOQDg+SoTEyfoXCUSImDyGZhjkaI1hcJgTnoXgACYCYKG2GQkEkVJchKIoZDIbIciYKY+HEP4mlmThSg+aBIlKBYUCUKgGHyG4jEkPoKiAKI6D6EokGkS" +
"gyECF5jEKVJZD+aYqHKG4nGoCh+iKJ4qEqBokh+KYag6JoqmqKo2iWJpqgKRJHDiT5qk6NYtCsapmjiLprHqdo6i8awan6QovCwOp6kSLQsBsHpGjKbBbBaMYhm0Cgal" +
"ILBtBsUpTiGUIUAQgIA==");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars.Copy("Task","Summary");
		var_Bar.Color32 = 0x1000000;
		var_Bar.Height = 16;
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Summary",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

757
How can I change the visual appearance of the task bar using EBN

exg2antt1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAEGg4BGoCg6AADACAxRDAMgBQKAAzQFAYZhhBaERiGEaIJhUAIIRZGMQxXAcMQvDSKQJhGLhQiSJoJDSBEgSXDIZQ5D6OZYACDJQACJYJTbAYzyP" +
"JkPRAA6EZCmGAwCglf5HABRb7xNLkbQ8GySKJnWCQJhoD5BSLCNRUTRFFQtGgZBpEWwLCjQNQwWLKFoTJIEPSBDKqYDoKYqTgOOZOThHQz3HakQRdAa/ZpnaKpUo2d47" +
"XjMWBwGA0EzeAAGaxoShqdoiFaGU7UOJVJBOGwHK6BchoMAKbp6XoVWRaOAWLZWVABM7XLZxbLccyGfZ1XhdV5UbqUMznR7PNrjLKIJpCOJbbyAFwgBaeQABYLhK7iHR" +
"mi8XYwjMWpjFWOx1GIB5LmgdB4HCEBECSIBpDGHQOicIwokYPImikEIJj6eJIloEgogSc40FGcJEFiYZIG2VIoAURw1g2QxyAQNwNAMPJOgIYI4CoDIBmAeAKBIUpQDU" +
"KJYDoTpIB4vxgmgdgNgeYZDDoFw7CEJhQn+BohmKfImCWSZRlgYwikYMQ0gwF4DniTA/gwBJYjQYwsgoIg6AyCRQDiIJODAZBImoOguAmMZ4lQLIJjOMI3CYZJpEIT4K" +
"iKSI6DqD5ZGAAgHC2DAjBYR4SGUGYGE+GIlCmFhRhIB5iFAbwWsiJgMhoCoxngV4ZCcSYOHaGYnHmIg8COJpoCoOISmSWZeHWHgoEkRoAg4EIYB4NogmiSgKg6GRjGoJ" +
"gFh+ZJKDaBYjmgaQygiBRUHmbhoDsTAyiqIIoioGoOw8aoKhKKoemeOIaAeF5HmqHoqiyKxKgYaN/locgBiuZRojoVIok8cwsjaMBLGqDoAhGIpoEYWYEmAIxUkQLZmg" +
"iYg2g2I4JiCQwuAqWIOIkEAQICA==");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.Color32 = 0x1000000;
		var_Bar.Height = 16;
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

756
How can I change the visual appearance of the task bar using EBN

exg2antt1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAEGg4BZsIQAAYAQGKIYBkAKBQAGaAoDDMMILQiMQwjRBMKgBBCLIxiGK4DhiGoZATCMbDBIcSwSGgCJCjeS4ZDKHIXSxFUKTBAcSQTGyBRokaYZR" +
"i6A4+TRPETTWAEcABHSbQCoKTKAoCHpLQLMYxDKItJSpGYaRgqWCaZpuUIaUzKVbxbK9CSMGiQbIsOJrBqqQozWZHVITLR9VgBNqga7uGR5DoqdovU5dVTVda9Ly5LSs" +
"MQvfALCqOe45URdNp3RiVBYfI6+cZvfJLWh4NqeAbCMC1UJoYhlUKCBg0TRoVo9AIDX5QWaYXC0AkBA==");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.Color32 = 0x1000000;
		var_Bar.Height = 16;
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

755
Is there any way to change the units and count of units used in resizing or moving a bar

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/21/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.ResizeUnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.ResizeUnitCount = 8;
	var_Chart.UnitWidth = 64;
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<b><%mmm%></b> <%dd%>";
		var_Level.DrawGridLines = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("6/22/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/23/2005 16:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h1 = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(h1,"",Convert.ToDateTime("6/22/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/24/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,"some <font Comic Sans MS;12><a>text</a></font> here");
	h1 = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("6/23/2005 8:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/28/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddLink("Link1",h,"",h1,"");
	var_Items.set_Link("Link1",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,0);
	var_Items.set_Link("Link1",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkText,"<bgcolor=FFFFFF> Link <a>1</a> </bgcolor>");
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

754
When trying to resize, move or create a bar, it appears that you can only resize, move or create it in the units that were specified for the level in the timeline. Is there any way to change the units used in resizing or moving a bar
exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/21/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.ResizeUnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.UnitWidth = 64;
	var_Chart.get_Level(0).Label = "<b><%mmm%></b> <%dd%>";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("6/22/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/23/2005 16:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h1 = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(h1,"",Convert.ToDateTime("6/22/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/24/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,"some <font Comic Sans MS;12><a>text</a></font> here");
	h1 = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("6/23/2005 8:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/28/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddLink("Link1",h,"",h1,"");
	var_Items.set_Link("Link1",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,0);
	var_Items.set_Link("Link1",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkText,"<bgcolor=FFFFFF> Link <a>1</a> </bgcolor>");
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

753
How can I clip the HTML text or caption inside the bar
exg2antt1.Columns.Add("Task");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXG2ANTTLib.Bar var_Bar = exg2antt1.Chart.Bars["Task"];
	var_Bar.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBox;
	var_Bar.Height = 13;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1","This is a bit of text that get's clipped");
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,3);

752
How to show the overallocation/workload histogram

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.NonworkingDays = 0;
	var_Chart.set_PaneWidth(false,70);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/20/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramHeight = 64;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.HistogramCriticalColor = Color.FromArgb(255,0,0);
		var_Bar.HistogramPattern = exontrol.EXG2ANTTLib.PatternEnum.exBezierCurve;
		var_Bar.HistogramType = exontrol.EXG2ANTTLib.HistogramTypeEnum.exHistOverAllocation;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("6/21/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("7/1/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h1 = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("6/21/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/28/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	h1 = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("6/23/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("7/1/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"E",null);
	var_Items.set_ItemBar(h1,"E",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarEffort,5);
	h1 = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("6/25/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/27/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"E",null);
	var_Items.set_ItemBar(h1,"E",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarEffort,2);
	var_Items.set_ItemBar(h1,"E",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"move/resize this");
	var_Items.set_ItemBar(h1,"E",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	var_Items.set_ItemBar(h1,"E",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"Click the bar and move or resize it. The histogram-graph will be updated.");
	var_Items.AddLink("Link1",h,"",h1,"E");
	var_Items.set_Link("Link1",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,0);
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

751
How to show the overload histogram

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.NonworkingDays = 0;
	var_Chart.set_PaneWidth(false,70);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/20/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramHeight = 64;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.HistogramPattern = (exontrol.EXG2ANTTLib.PatternEnum)0x100 | exontrol.EXG2ANTTLib.PatternEnum.exPatternDot;
		var_Bar.HistogramType = exontrol.EXG2ANTTLib.HistogramTypeEnum.exHistOverload;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("6/21/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("7/1/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h1 = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("6/21/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/28/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	h1 = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("6/23/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("7/1/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"E",null);
	var_Items.set_ItemBar(h1,"E",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarEffort,5);
	h1 = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("6/25/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/27/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"E",null);
	var_Items.set_ItemBar(h1,"E",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarEffort,2);
	var_Items.set_ItemBar(h1,"E",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"move/resize this");
	var_Items.set_ItemBar(h1,"E",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	var_Items.set_ItemBar(h1,"E",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"Click the bar and move or resize it. The histogram-graph will be updated.");
	var_Items.AddLink("Link1",h,"",h1,"E");
	var_Items.set_Link("Link1",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,0);
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

750
How can I align the text/caption on the scroll bar
exg2antt1.set_ScrollPartCaption(exontrol.EXG2ANTTLib.ScrollBarEnum.exHScroll,exontrol.EXG2ANTTLib.ScrollPartEnum.exLowerBackPart,"left");
exg2antt1.set_ScrollPartCaptionAlignment(exontrol.EXG2ANTTLib.ScrollBarEnum.exHScroll,exontrol.EXG2ANTTLib.ScrollPartEnum.exLowerBackPart,exontrol.EXG2ANTTLib.AlignmentEnum.LeftAlignment);
exg2antt1.set_ScrollPartCaption(exontrol.EXG2ANTTLib.ScrollBarEnum.exHScroll,exontrol.EXG2ANTTLib.ScrollPartEnum.exUpperBackPart,"right");
exg2antt1.set_ScrollPartCaptionAlignment(exontrol.EXG2ANTTLib.ScrollBarEnum.exHScroll,exontrol.EXG2ANTTLib.ScrollPartEnum.exUpperBackPart,exontrol.EXG2ANTTLib.AlignmentEnum.RightAlignment);
exg2antt1.ColumnAutoResize = false;
exg2antt1.Columns.Add(1.ToString());
exg2antt1.Columns.Add(2.ToString());
exg2antt1.Columns.Add(3.ToString());
exg2antt1.Columns.Add(4.ToString());

749
How do I programmatically control the position of the horizontal scroll bar in the chart area, so I can specify a range of dates to scorll within
exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,56);
	var_Chart.set_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exStartDate,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.set_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exEndDate,Convert.ToDateTime("1/31/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.set_ScrollPartCaption(exontrol.EXG2ANTTLib.ScrollBarEnum.exHChartScroll,exontrol.EXG2ANTTLib.ScrollPartEnum.exLowerBackPart,exg2antt1.Chart.get_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exStartDate).ToString());
exg2antt1.set_ScrollPartCaptionAlignment(exontrol.EXG2ANTTLib.ScrollBarEnum.exHChartScroll,exontrol.EXG2ANTTLib.ScrollPartEnum.exLowerBackPart,exontrol.EXG2ANTTLib.AlignmentEnum.LeftAlignment);
exg2antt1.set_ScrollPartCaption(exontrol.EXG2ANTTLib.ScrollBarEnum.exHChartScroll,exontrol.EXG2ANTTLib.ScrollPartEnum.exUpperBackPart,exg2antt1.Chart.get_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exEndDate).ToString());
exg2antt1.set_ScrollPartCaptionAlignment(exontrol.EXG2ANTTLib.ScrollBarEnum.exHChartScroll,exontrol.EXG2ANTTLib.ScrollPartEnum.exUpperBackPart,exontrol.EXG2ANTTLib.AlignmentEnum.RightAlignment);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/18/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
exg2antt1.EndUpdate();

748
How can I programmatically control the position of the "splitter" between the item list on the left side and the gantt chart on the right
exg2antt1.Chart.set_PaneWidth(true,196);

747
How can I add a milestone bar and some text in the chart area

exg2antt1.Columns.Add("Task");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Milestone",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,"<a1>text</a> outside");
	var_Items.set_ItemBar(h,null,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);

746
How can I display or align the bar's caption or text outside of the bar

exg2antt1.Columns.Add("Task");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.DefaultItemHeight = 32;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<b>to do</b>");
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarVAlignCaption,16);

745
How can I display or align the bar's caption or text outside of the bar

exg2antt1.Columns.Add("Task");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"to do");
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,16);

744
How can I display or align the bar's caption or text outside of the bar

exg2antt1.Columns.Add("Task");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"to do ");
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);

743
Is there any option to keep the working days being constant while user moves the bar
exg2antt1.BeginUpdate();
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.Bars.Add("Task:Split").Shortcut = "Task";
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.set_ItemBar(h,"A",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
exg2antt1.EndUpdate();

742
Is there any option to count or to specify the working days

exg2antt1.BeginUpdate();
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Task");
exg2antt1.Chart.Bars.Add("Task:Split").Shortcut = "S";
exg2antt1.Chart.set_PaneWidth(false,48);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"S",Convert.ToDateTime("1/3/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.set_ItemBar(h,"A",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarWorkingCount,4);
exg2antt1.EndUpdate();

741
How do I select the next row/item
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
	var_Items.set_SelectItem(var_Items.get_NextVisibleItem(var_Items.FocusItem),true);

740
How do I get the selected bars or links

exg2antt1.BeginUpdate();
exg2antt1.Chart.AllowSelectObjects = exontrol.EXG2ANTTLib.SelectObjectsEnum.exSelectBarsOnly;
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/6/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.set_ItemBar(h,"A",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);
exg2antt1.EndUpdate();
System.Diagnostics.Debug.Print( "Bars" );
System.Diagnostics.Debug.Print( exg2antt1.Items.get_SelectedObjects(exontrol.EXG2ANTTLib.SelectObjectsEnum.exSelectBarsOnly).ToString() );
System.Diagnostics.Debug.Print( "Links" );
System.Diagnostics.Debug.Print( exg2antt1.Items.get_SelectedObjects(exontrol.EXG2ANTTLib.SelectObjectsEnum.exSelectLinksOnly).ToString() );

739
How can I allow a single link being selected in the chart

exg2antt1.BeginUpdate();
exg2antt1.Chart.AllowSelectObjects = exontrol.EXG2ANTTLib.SelectObjectsEnum.exSelectSingleObject | exontrol.EXG2ANTTLib.SelectObjectsEnum.exSelectLinksOnly;
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/6/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.AddLink("AB",h1,"A",h2,"B");
	var_Items.AddLink("BA",h2,"B",h1,"A");
	var_Items.set_Link("AB",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkSelected,true);
exg2antt1.EndUpdate();

738
How can I allow a single bar being selected in the chart

exg2antt1.BeginUpdate();
exg2antt1.Chart.AllowSelectObjects = exontrol.EXG2ANTTLib.SelectObjectsEnum.exSelectSingleObject | exontrol.EXG2ANTTLib.SelectObjectsEnum.exSelectBarsOnly;
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/6/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.set_ItemBar(h,"A",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);
	var_Items.AddLink("AB",h,"A",h,"B");
exg2antt1.EndUpdate();

737
How do I define the visual appearance of the bar by using your EBN/skin files

exg2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exg2antt1.Chart.Bars.Copy("Task","EBN").Color32 = 0x1000000;
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"EBN",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

736
Is it possible to have an "empty box" pattern for the bars

exg2antt1.Chart.Bars.Copy("Task","Box").Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBox;
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Box",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

735
How do I enable resizing ( changing the height ) the items at runtime
exg2antt1.ItemsAllowSizing = exontrol.EXG2ANTTLib.ItemsAllowSizingEnum.exResizeItem;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exHLines;
exg2antt1.ScrollBySingleLine = true;
exg2antt1.Columns.Add("Column");
exg2antt1.Items.AddItem("Item 1");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_ItemHeight(var_Items.AddItem("Item 2"),48);
exg2antt1.Items.AddItem("Item 3");

734
How do I enable resizing all the items at runtime
exg2antt1.ItemsAllowSizing = exontrol.EXG2ANTTLib.ItemsAllowSizingEnum.exResizeAllItems;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exHLines;
exg2antt1.Columns.Add("Column");
exg2antt1.Items.AddItem("Item 1");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_ItemHeight(var_Items.AddItem("Item 2"),48);
exg2antt1.Items.AddItem("Item 3");

733
How can I use your EBN files in the histogram

exg2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramHeight = 32;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.HistogramPattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternEmpty;
		var_Bar.HistogramColor32 = 0x1000000;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

732
How can I draw only the shape of the bars in the histogram

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramHeight = 32;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.HistogramPattern = exontrol.EXG2ANTTLib.PatternEnum.exBezierCurve;
		var_Bar.HistogramColor = Color.FromArgb(255,0,0);
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

731
How can I draw only the shape of the bars in the histogram

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramHeight = 32;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.HistogramPattern = (exontrol.EXG2ANTTLib.PatternEnum)0x100;
		var_Bar.HistogramColor = Color.FromArgb(255,0,0);
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

730
How can I change the color of bars in the histogram

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramHeight = 32;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.HistogramPattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
		var_Bar.HistogramColor = Color.FromArgb(255,0,0);
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

729
How can I show my bars in the histogram

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramHeight = 32;
	var_Chart.Bars["Task"].HistogramPattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

728
I'm trying to use the percentage display in my gantt's bars. Unfortunately, I don't see any percentage on the gantt chart

exg2antt1.Columns.Add("Task");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXG2ANTTLib.Bar var_Bar = exg2antt1.Chart.Bars.Copy("Task","BarName");
	var_Bar.Color = Color.FromArgb(255,0,0);
	var_Bar.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
exg2antt1.Chart.Bars.Add("BarName%Progress").Shortcut = "Percent";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Percent",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarPercent,0.4);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowPercentCaption,true);

727
How can I show the histogram
exg2antt1.Chart.LevelCount = 2;
exg2antt1.Chart.get_Level(0).Label = 0;
exontrol.EXG2ANTTLib.Level var_Level = exg2antt1.Chart.get_Level(1);
	var_Level.Label = "<%mr%>";
	var_Level.Unit = exontrol.EXG2ANTTLib.UnitEnum.exMonth;
exg2antt1.Chart.HistogramVisible = true;

726
How I can show Months in Time Unit panel into Roman numerals

exg2antt1.Chart.LevelCount = 2;
exg2antt1.Chart.get_Level(0).Label = 0;
exontrol.EXG2ANTTLib.Level var_Level = exg2antt1.Chart.get_Level(1);
	var_Level.Label = "<%mr%>";
	var_Level.Unit = exontrol.EXG2ANTTLib.UnitEnum.exMonth;

725
Can I show a bar with a different vertical position

exg2antt1.Columns.Add("Task");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Opaque");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	h = var_Items.AddItem("Transparent and Opaque");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarOffset,"-3");
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarTransparent,80);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);

724
How can I show transparent and opaque bars in the same chart

exg2antt1.Columns.Add("Task");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Opaque");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	h = var_Items.AddItem("Transparent and Opaque");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarOffset,"-3");
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarTransparent,80);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);

723
How can I draw bars using transparent colors

exg2antt1.Chart.ShowTransparentBars = 60;
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.Bars.Copy("Task","TaskR").Color = Color.FromArgb(255,0,0);
exg2antt1.Chart.set_PaneWidth(false,48);
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"TaskR",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);

722
How do I select bars and links in the chart area, by dragging
exg2antt1.BeginUpdate();
exg2antt1.Chart.AllowSelectObjects = exontrol.EXG2ANTTLib.SelectObjectsEnum.exSelectObjects;
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/6/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.AddLink("AB",h1,"A",h2,"B");
exg2antt1.EndUpdate();

721
How do I remove, delete the objects like bars and links selected in the chart area
exg2antt1.BeginUpdate();
exg2antt1.Chart.AllowSelectObjects = exontrol.EXG2ANTTLib.SelectObjectsEnum.exSelectObjects;
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.set_ItemBar(h1,"A",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/6/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.AddLink("AB",h1,"A",h2,"B");
exg2antt1.EndUpdate();
exg2antt1.Chart.RemoveSelection();

720
How do I select links and bars in the chart area

exg2antt1.BeginUpdate();
exg2antt1.Chart.AllowSelectObjects = exontrol.EXG2ANTTLib.SelectObjectsEnum.exSelectObjects;
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.set_ItemBar(h1,"A",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/6/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.set_ItemBar(h2,"B",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);
	var_Items.AddLink("AB",h1,"A",h2,"B");
	var_Items.set_Link("AB",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkSelected,true);
exg2antt1.EndUpdate();

719
How do I select links in the chart area

exg2antt1.BeginUpdate();
exg2antt1.Chart.AllowSelectObjects = exontrol.EXG2ANTTLib.SelectObjectsEnum.exSelectLinksOnly;
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/6/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.AddLink("AB",h1,"A",h2,"B");
	var_Items.set_Link("AB",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkSelected,true);
exg2antt1.EndUpdate();

718
How do I select bars, or tasks in the chart area
exg2antt1.BeginUpdate();
exg2antt1.Chart.AllowSelectObjects = exontrol.EXG2ANTTLib.SelectObjectsEnum.exSelectBarsOnly;
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/6/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.set_ItemBar(h,"A",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarSelected,true);
	var_Items.AddLink("AB",h,"A",h,"B");
exg2antt1.EndUpdate();

717
Can I change the Task bar so it display a Progress or a Percent bar, but it is splitted when the task intersect a non working area

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.ShowTransparentBars = 60;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.Bars.Add("Task%Progress:Split").Shortcut = "Task";
	var_Chart.set_PaneWidth(false,48);
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/16/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarPercent,0.15);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowPercentCaption,true);

716
Can I change the Task bar so it display a Progress or a Percent bar

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.Bars.Add("Task%Progress").Shortcut = "Task";
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarPercent,0.15);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowPercentCaption,true);

715
How can I remove the filter
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Column") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exBlanks;
exg2antt1.ApplyFilter();
exg2antt1.ClearFilter();

714
I use the ShowEmptyBars property, but I display seconds from 15 to 15, and the bars are not shown correctly. What can I do

exg2antt1.SelBackColor = Color.FromArgb(255,0,0);
exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exCreateBarAuto;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = 1048576;
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.Label = "<%ss%>";
		var_Level.Count = 15;
	var_Chart.ShowEmptyBars = 15;
	var_Chart.ShowEmptyBarsUnit = exontrol.EXG2ANTTLib.UnitEnum.exSecond;
	var_Chart.set_PaneWidth(false,48);
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/1/2002 0:00:15",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2002 0:00:15",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/1/2002 0:01:15",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2002 0:01:30",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.AddLink("AB",h,"A",h,"B");
exg2antt1.EndUpdate();

713
I need the bar works like in the MS Project, where task from 1/1/2001 to 1/1/2001 must display 1 day
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.ShowEmptyBars = 1;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

712
I have a bar that has the start and end date identical. Nothing is displayed. What can I do
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.ShowEmptyBars = 1;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

711
How can I display seconds and bars for 15 to 15

exg2antt1.BeginUpdate();
exg2antt1.Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exCreateBarAuto;
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Chart.LevelCount = 2;
exg2antt1.Chart.ShowEmptyBars = 0;
exg2antt1.Chart.get_Level(0).Label = 1048576;
exontrol.EXG2ANTTLib.Level var_Level = exg2antt1.Chart.get_Level(1);
	var_Level.Label = "<%ss%>";
	var_Level.Count = 15;
exg2antt1.Chart.set_PaneWidth(false,48);
exg2antt1.Chart.Bars.Copy("Task","Task2").Color = Color.FromArgb(255,0,0);
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/1/2002 0:00:15",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2002 0:00:45",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task2",Convert.ToDateTime("1/1/2002 0:01:15",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2002 0:01:45",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.AddLink("AB",h,"A",h,"B");
exg2antt1.EndUpdate();

710
How can I vertically display the column's caption, in the header

(exg2antt1.Columns.Add("A") as exontrol.EXG2ANTTLib.Column).HeaderVertical = true;
(exg2antt1.Columns.Add("B") as exontrol.EXG2ANTTLib.Column).HeaderVertical = true;
(exg2antt1.Columns.Add("H") as exontrol.EXG2ANTTLib.Column).HeaderVertical = false;

709
How can I copy a predefined bar
exg2antt1.Chart.Bars.Copy("Task","T2").Color = Color.FromArgb(255,0,0);
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"T2",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

708
How can I define my own custom bar, using my icons or pictures

exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXG2ANTTLib.Bars var_Bars = exg2antt1.Chart.Bars;
	var_Bars.AddShapeCorner(12345,1);
	var_Bars.AddShapeCorner(22345,2);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Bars.Add("T2");
		var_Bar.StartShape = (exontrol.EXG2ANTTLib.ShapeCornerEnum)0x5740 | exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconCircleUp1;
		var_Bar.EndShape = (exontrol.EXG2ANTTLib.ShapeCornerEnum)0x3020 | exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconVBar | exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconRight;
		var_Bar.EndColor = Color.FromArgb(255,0,0);
		var_Bar.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternDot;
		var_Bar.Color = Color.FromArgb(255,0,255);
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeThinCenter;
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"T2",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

707
How can I access a predefined bar
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.Chart.Bars["Task"].Color = Color.FromArgb(255,0,0);

706
How can I access a predefined bar
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.Chart.Bars["Task"].Color = Color.FromArgb(255,0,0);

705
How can I remove all predefined bars
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

704
How can I remove a predefined bar
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

703
How do I get the number of predefined bars
exg2antt1.Columns.Add(exg2antt1.Chart.Bars.Count.ToString());

702
How can I change the shape of the task bar

exontrol.EXG2ANTTLib.Bar var_Bar = exg2antt1.Chart.Bars.Copy("Task","T2");
	var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconDown1;
	var_Bar.EndColor = Color.FromArgb(255,0,0);
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"T2",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);

701
How can I change the ending shape for all task bars

exontrol.EXG2ANTTLib.Bar var_Bar = exg2antt1.Chart.Bars["Task"];
	var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconUp1;
	var_Bar.EndColor = Color.FromArgb(255,0,0);
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);